package com.hd123.data.check.dao.common;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * description:
 * 实体基类
 *
 * Date: 2017/12/25
 * Time: 16:06
 *
 * @author zhangxin
 */
public abstract class BaseEntity implements Serializable{
    private static final long serialVersionUID = 3520613596596780217L;

    @TableId(type = IdType.UUID)
    @TableField(fill = FieldFill.INSERT)
    private String uuid;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
